﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using eProject_SEM3_SecurityServices.DataAccess;
using eProject_SEM3_SecurityServices.ObjectClass;

namespace eProject_SEM3_SecurityServices.Bussiness
{
    public class BContract
    {
        DContract dcontract = null;

        public BContract()
        {
            dcontract = new DContract();
        }
        /*AddNewContract
         * @contractId int,
	      @serviceId int*/
        public bool AddNewContract(OContract contract)
        {
            return dcontract.NewContractAdd(contract); 
        }
        public bool deleteContract(int id)
        {
            return dcontract.deleteContract(id);
        }
    }
}